package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.PersonDiathesisAbilityEstimate;
import com.zhijian.medical.entity.vo.request.PersonDiathesisAbilityEstimateSearchVo;
import com.zhijian.medical.entity.vo.response.PersonDiathesisAbilityEstimateListVo;
import com.zhijian.medical.entity.vo.response.PersonDiathesisAbilityEstimateVo;

import java.util.List;

public interface PersonDiathesisAbilityEstimateMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PersonDiathesisAbilityEstimate record);

    int insertSelective(PersonDiathesisAbilityEstimate record);

    PersonDiathesisAbilityEstimate selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PersonDiathesisAbilityEstimate record);

    int updateByPrimaryKey(PersonDiathesisAbilityEstimate record);

    int count(PersonDiathesisAbilityEstimateSearchVo personDiathesisAbilityEstimateSearchVo);

    List<PersonDiathesisAbilityEstimateListVo> selectList(PersonDiathesisAbilityEstimateSearchVo personDiathesisAbilityEstimateSearchVo);

    PersonDiathesisAbilityEstimateVo selectVoById(Long id);

    /**
     * 根据人员id进行查找
     *
     * @param personId
     * @return
     */
    PersonDiathesisAbilityEstimateVo selectVoByPersonId(Long personId);
}